﻿// =================================================================== 
// 项目说明
//====================================================================
// 文件： ERP_PerReturnDetail.cs
// 创建时间：2016/12/4
// 负责人：
// ===================================================================
using System;

//注意：该文件自动生成，一般请不要手工修改。

namespace CRMMis.Model
{
	/// <summary>
	///借退详情表(ERP_PerReturnDetail)数据实体
	/// </summary>
	[Serializable]
	public class ERP_PerReturnDetail
	{
		#region 变量定义
		
		///<summary>
		///借还单明细ID
		///</summary>
		private int _detailId;
		
		///<summary>
		///顺序号
		///</summary>
		private int _orderId;
		
		///<summary>
		///借还单id
		///</summary>
		private int _perReturnId;
		
		///<summary>
		///库存详情编号
		///</summary>
		private int _itemId;
		
		///<summary>
		///数量
		///</summary>
		private int _count;
		#endregion
		
		#region 构造函数

		///<summary>
		///借退详情表的构造函数，默认值通过数据库的default取得
		///</summary>
		public ERP_PerReturnDetail()
		{
 
		}
		///<summary>
		///借退详情表
		///</summary>
		public ERP_PerReturnDetail
		(
			int detailId,
			int orderId,
			int perReturnId,
			int itemId,
			int count
		)
		{
			_detailId    = detailId;
			_orderId     = orderId;
			_perReturnId = perReturnId;
			_itemId      = itemId;
			_count       = count;
			
		}
		
		

		#endregion
		
		#region 公共属性

		
		
		///<summary>
		///借还单明细ID
		///</summary>
		public int DetailId
		{
			get {return _detailId;}
			set {_detailId = value;}
		}

		
		///<summary>
		///顺序号
		///</summary>
		public int OrderId
		{
			get {return _orderId;}
			set {_orderId = value;}
		}

		
		///<summary>
		///借还单id
		///</summary>
		public int PerReturnId
		{
			get {return _perReturnId;}
			set {_perReturnId = value;}
		}

		
		///<summary>
		///库存详情编号
		///</summary>
		public int ItemId
		{
			get {return _itemId;}
			set {_itemId = value;}
		}

		
		///<summary>
		///数量
		///</summary>
		public int Count
		{
			get {return _count;}
			set {_count = value;}
		}
	
		#endregion
		
	}
}